package jgl.vajra.kingkong.part.vehicle.contract;

import java.util.Map;

import io.reactivex.Observable;
import jgl.vajra.kingkong.databinding.ActivityEditAddressBinding;
import jgl.vajra.kingkong.widget.mvvm.model.BaseModel;
import jgl.vajra.kingkong.widget.mvvm.view.BaseMVVMView;
import jgl.vajra.kingkong.widget.mvvm.viewmodel.BaseViewModel;

public class EditAddressContract {

    public abstract static class Model extends BaseModel {
        public abstract Observable<String> addAddressData(Map<String, Object> map,String authorization);
    }

    public interface View extends BaseMVVMView {

        void onMapPoint();

        void onDetermine();

        void onMailList();

        void returnAddAddress(String msg);
    }

    public abstract static class ViewModel extends BaseViewModel<View, ActivityEditAddressBinding, Model> {

        public abstract void addAddressData(Map<String, Object> map,String authorization);
    }
}
